package com.telenav.snowsweeper.controller;

import com.telenav.snowsweeper.renderer.MapEdgeRenderer;
import com.telenav.snowsweeper.renderer.RouteRenderer;
import com.telenav.snowsweeper.renderer.VehicleRenderer;

public class GameParamsSet {
	public VehicleRenderer.RendererParams vehParams;
	public MapEdgeRenderer.RendererParams edgesParams;
	public RouteRenderer.RendererParams routeParams;
	
	public void init(VehicleRenderer.RendererParams vehParams,
					 MapEdgeRenderer.RendererParams edgesParams,
					 RouteRenderer.RendererParams routeParams) {
		this.vehParams = vehParams;
		this.edgesParams = edgesParams;
		this.routeParams = routeParams;
	}

	public void setScaleXY(int sx, int sy) {
		edgesParams.setScaleXY(sx, sy);
	}

	public void move(int dx_px, int dy_px) {
		edgesParams.move(dx_px, dy_px);
	}

	public void adjustScaleXY(int dx, int dy) {
		edgesParams.adjustScaleXY(dx, dy);
	}
}
